<?php
	session_start();
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
	
   <title>Sirzee - Google Earth</title>
   <script src="http://www.google.com/jsapi?key=ABQIAAAAG86eTe_nLt6lgb2odUpC1xSZFyrzSjdFhgRg-1bWMFPrAHf2vxSQUtkFNGAXY687Uu3nguAyJd-XBQ"
   type="text/javascript"></script>
   <?php		
		include("../scripts.php");
	?>
	<script type="text/javascript" src="../js/kml.js"></script>
   <script type="text/javascript" src="../js/gearth.js"></script>
   <link href="../css/gmaps.css" rel="stylesheet">
   
   <script type="text/javascript">
   	$(document).ready(function(){
			$("#hsidebar").corner("left");
			google.setOnLoadCallback(init);
		});
       
   </script>

</head>

<body>
<div id="main">	
	<?php 
		
		include("../layout/header.php");
		include("../layout/sidebar.php");
	?>
	<div id="mapa">	
		<div id="mtitle">	
			<div id="hsidebar"  onclick="hidesidebar()" > << </div>
			<div class="title">Mapa de Plantas tur&iacute;sticas</div>
		</div>
		<div id="map_canvas"></div>
		<div id="puntos">
				<!--Procesos en gmaps.js-->
				<div>Seleccione el tipo de mapa</div>
				<div><input type="radio" name="inventario" value="1" class="radio" onclick="PointsAtractivoEarth()" >Atractivos</div>			
				<div><input type="radio" name="inventario" value="3" class="radio" checked onclick="PointsPlantaEarth()"> Plantas</div>
				<div id="marcas">
					<?php 
						require_once("../BaseDatos/DBSelect.php");
						$subcategoria=$_GET["seleccionado"];
						$tipo=new DBSelect("txttipo", "txttipo", "1","id_tema","nombre");
						$tipo->query="select id_tema,nombre from tema where id_subcategoria=17;";
						$tipo->firthrow="Seleccione Tipo";
						$tipo->onchange="GetTipo();";
						$tipo->Show();
					?>
				</div>
				<select id="marca" size="20" onchange="getplacemarker()" class="marker">
				</select>
			</div>	
   		
	</div>
	<?php
		include("../layout/footer.php");
	?>
</div>	
</body>
</html>
